package com.foreknow.test;

import com.foreknow.dao.impl.UserDaoImpl;
import com.foreknow.model.User;
import com.foreknow.service.UserServie;

import java.sql.SQLException;

public class test {
    public static void main(String[] args) {
        UserServie servie=new UserServie();
        try {
           servie.setUserDao(new UserDaoImpl());
           servie.add(new User());
        } catch (SQLException e) {
            e.printStackTrace();
        }
    }
}
